home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 19
/
AMIGAplus Sonderheft 19 (1999)(ICP)(DE)[!].iso
/
Demoversionen
/
Anwendungen
/
Net_Connect
/
NC_2.1
/
Install
next >
Wrap
Text File
|
1999-03-08
|
7KB
|
246 lines
; Install script for Nc2.1 UPDATE
;
; Copyright by Active Techologies (c) 1998
(procedure P_COPY_LIBS
(copylib (prompt "Updating Contact Manager library." )
(help @copylib-help)
(confirm)
(source "libs/cmanager.library")
(dest "libs:")
(optional "askuser" "force")
)
(copylib (prompt "Updating vapor_update library." )
(help @copylib-help)
(confirm)
(source "libs/vapor_update.library")
(dest "libs:")
(optional "askuser" "force")
)
(copylib (prompt "Updating xarctools library." )
(help @copylib-help)
(confirm)
(source "libs/xarctools.library")
(dest "libs:")
(optional "askuser" "force")
)
)
(procedure P_COPY_APPDEVICE
(if (= 0 #cpu-choice) (set #appp-name "appp.device"))
(if (= 1 #cpu-choice) (set #appp-name "appp.device.020"))
(if (= 2 #cpu-choice) (set #appp-name "appp.device.030"))
(if (= 3 #cpu-choice) (set #appp-name "appp.device.040"))
(if (= 4 #cpu-choice) (set #appp-name "appp.device.060"))
(copylib (prompt "Updating appp.device.")
(help @copylib-help)
(confirm)
(source (tackon "Devs/Networks" #appp-name))
(dest "Devs:networks/")
(newname "appp.device")
(optional "askuser" "force")
)
)
(procedure P_COPY_MUI_CLASSES
(copyfiles (prompt "Updating MUI classes.")
(help @copylib-help)
(confirm)
(source "mui")
(all)
(dest "MUI:libs/mui/")
(optional "askuser" "force")
)
)
(procedure P_COPY_AMIRC
(if (exists "netconnect2:programs/amirc/")
(copyfiles (prompt "Updating AmIRC.")
(help @copyfiles-help)
(confirm)
(source "Amirc")
(all)
(dest "netconnect2:programs/amirc/" )
(optional "askuser" "force")
)
(copyfiles (prompt "Updating AmIRC.")
(help @copyfiles-help)
(confirm)
(source "Amirc")
(all)
(dest
(askdir
(prompt "Select the directory where AmIRC is installed.")
(help @askdir-help)
(default "netconnect2:programs/amirc/")
)
)
(optional "askuser" "force")
)
)
)
(procedure P_COPY_CM
(if (exists "netconnect2:programs/cmanager/")
(copyfiles (prompt "Updating Contact Manager.")
(help @copyfiles-help)
(confirm)
(source "cmanager")
(all)
(dest "netconnect2:programs/cmanager/" )
(optional "askuser" "force")
)
(copyfiles (prompt "Updating Contact Manager.")
(help @copyfiles-help)
(confirm)
(source "cmanager")
(all)
(dest
(askdir
(prompt "Select the directory where Contact Manager is installed.")
(help @askdir-help)
(default "netconnect2:programs/cmanager/")
)
)
(optional "askuser" "force")
)
)
)
(procedure P_COPY_GENESIS
(if (exists "netconnect2:amitcp/")
(copyfiles (prompt "Updating Genesis.")
(help @copyfiles-help)
(confirm)
(source "genesis")
(all)
(dest "netconnect2:amitcp/" )
(optional "askuser" "force")
)
(copyfiles (prompt "Updating Genesis.")
(help @copyfiles-help)
(confirm)
(source "genesis")
(all)
(dest
(askdir
(prompt "Select the directory where Genesis is installed.")
(help @askdir-help)
(default "netconnect2:amitcp/")
)
)
(optional "askuser" "force")
)
)
)
(procedure P_COPY_MD
(if (exists "netconnect2:programs/microdot-ii/")
(copyfiles (prompt "Updating Microdot II.")
(help @copyfiles-help)
(confirm)
(source "microdot")
(all)
(dest "netconnect2:programs/microdot-ii/" )
(optional "askuser" "force")
)
(copyfiles (prompt "Updating Microdot II.")
(help @copyfiles-help)
(confirm)
(source "microdot")
(all)
(dest
(askdir
(prompt "Select the directory where Microdot II is installed.")
(help @askdir-help)
(default "netconnect2:programs/microdot-ii/")
)
)
(optional "askuser" "force")
)
)
)
(procedure P_COPY_XARC
(if (exists "netconnect2:programs/x-arc/")
(copyfiles (prompt "Updating X-Arc.")
(help @copyfiles-help)
(confirm)
(source "X-Arc")
(all)
(dest "netconnect2:programs/X-Arc/" )
(optional "askuser" "force")
)
(copyfiles (prompt "Updating X-Arc.")
(help @copyfiles-help)
(confirm)
(source "x-arc")
(all)
(dest
(askdir
(prompt "Select the directory where X-Arc is installed.")
(help @askdir-help)
(default "netconnect2:programs/x-arc/")
)
)
(optional "askuser" "force")
)
)
)
(procedure check-cpu-type
(transcript "checking CPU type")
(set #cpu-type (database "cpu"))
(if (= #cpu-type "68060")
(set #cpu-choice 4)
(if (= #cpu-type "68040")
(set #cpu-choice 3)
(if (= #cpu-type "68030")
(set #cpu-choice 2)
(if (= #cpu-type "68020")
(set #cpu-choice 1)
(set #cpu-choice 0)
)
)
)
)
(set #cpu-choice
(askchoice
(choices "68000" "68020" "68030" "68040" "68060")
(prompt "Please select which CPU " @app-name " will be running on.")
(help "Some parts of the " @app-name " package have been optimised for specific members of the 68000 processor family. "
"You should select the processor that " @app-name " will be running on so that the most appropriate programs will be used.")
(default #cpu-choice)
)
)
)
(
(message
"\n\n\nNetConnect\n"
"Update v2.1\n"
"\n(c) by Active Technologies 1998\n"
"\nhttp://www.active-net.co.uk"
)
(set @default-dest "NetConnect2:" )
(check-cpu-type)
(P_COPY_LIBS)
(P_COPY_APPDEVICE)
(P_COPY_MUI_CLASSES)
(P_COPY_GENESIS)
(P_COPY_XARC)
(P_COPY_CM)
(P_COPY_AMIRC)
(P_COPY_MD)
(exit)
)